package com.chaopei.design_model.structs;

public class ObjectAdapter implements Apple {
    private Pear pear;
     public ObjectAdapter(Pear pear) {
    	 this.pear=pear;
	}
	@Override
	public void isApple() {
	 pear.speak();	
	}//isapple

}
